package com.guli.product.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.guli.product.entity.SpuInfoEntity;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * spu信息
 * @author zzb
 * @email 1626131069@qq.com
 * @date 2023-10-21 10:18:56
 */
@Mapper
public interface SpuInfoDao extends BaseMapper<SpuInfoEntity> {

    @Update("update gulimall_pms.pms_spu_info set publish_status = 1 where id = #{spuId} ")
    void updateStatus(@Param("spuId") Long spuId);
}
